package com.jyw.flowable.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author Created by ZhangCheng on 2023/11/14
 */
@Data
public class WfDeployVo {

    /**
     * 流程定义ID
     */
    private String definitionId;

    /**
     * 流程名称
     */
    private String processName;

    /**
     * 流程Key
     */
    private String processKey;

    /**
     * 分类编码
     */
    private String category;

    /**
     * 版本
     */
    private Integer version;

    /**
     * 部署ID
     */
    private String deploymentId;

    /**
     * 流程定义状态: 1:激活 , 2:中止
     */
    private Boolean suspended;

    /**
     * 部署时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date deploymentTime;
}
